import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.TextBox;
import javax.microedition.lcdui.TextField;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;


public class TestMidlet extends MIDlet {

	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
		
	}

	protected void pauseApp() {
		
	}

	protected void startApp() throws MIDletStateChangeException {
		TextBox textBox = new TextBox("Test", "Test", 1000, TextField.ANY);
		setDisplay(textBox);
	}

	private void setDisplay(TextBox d) {
		Display.getDisplay(this).setCurrent(d);
	}

}
